/**
 * @file AI/index.css
 * @description AI导航页面特定样式
 * @copyright 版权所有 (c) 2025 UIED技术团队
 * @website https://fsuied.com
 * @license MIT
 * @version 1.0.0
 */

/* AI页面特定样式 */
.ai-page {
  /* 继承通用页面样式，添加特定的AI主题色调 */
}

/* AI工具分类标签统一样式 */
.ai-page .tool-tag {
  padding: 0.125rem 0.5rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  border: 0.0625rem solid color-mix(in srgb, var(--border-color) 40%, transparent 60%);
  background: color-mix(in srgb, var(--background-light) 60%, transparent 40%);
  color: var(--text-quaternary, #9ca3af);
  opacity: 0.8;
  transition: all 0.2s ease;
}

.ai-page .tool-tag:hover {
  background: color-mix(in srgb, var(--primary-light) 60%, transparent 40%);
  color: color-mix(in srgb, var(--primary-color) 80%, transparent 20%);
  opacity: 1;
}

/* AI特色渐变背景 */
.ai-page .tool-tag.ai-tag {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
}

.ai-page .tool-tag.ai-tag:hover {
  background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
  transform: translateY(-1px);
}

/* HeroBanner下方的Banner样式 */
.hero-bottom-banner {
  margin-top: -2rem; /* 稍微上移，与HeroBanner重叠一点 */
  z-index: 5;
  position: relative;
  padding: 0 2rem;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1rem;
}

/* 移动端响应式调整 */
@media (max-width: 768px) {
  .hero-bottom-banner {
    padding: 0 1rem;
    margin-top: -1rem;
  }
}

/* 全站搜索提示样式 */
.global-search-tip {
  text-align: center;
  padding: 0.75rem 1rem;
  margin: -1rem auto 1rem;
  max-width: 800px;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(5px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  font-size: 0.875rem;
  color: var(--text-secondary, #666);
}

.global-search-tip p {
  margin: 0;
}

.inline-search-link {
  background: none;
  border: none;
  color: var(--primary-color, #0066ff);
  font-weight: 500;
  cursor: pointer;
  padding: 0 0.25rem;
  text-decoration: underline;
  font-size: 0.875rem;
}

.inline-search-link:hover {
  color: var(--primary-dark, #0052cc);
}

/* AI工具卡片特殊样式 */
.ai-page .tool-card {
  position: relative;
  overflow: hidden;
}

.ai-page .tool-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.ai-page .tool-card:hover::before {
  opacity: 1;
}

/* AI分类特色图标样式 */
.ai-page .category-icon.ai-icon {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.ai-page .category-icon.image-icon {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  color: white;
}

.ai-page .category-icon.video-icon {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  color: white;
}

.ai-page .category-icon.code-icon {
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
  color: white;
}

/* 移除暗黑模式适配后的清理 */

/* 移动端适配 */
@media (max-width: 768px) {
  .global-search-tip {
    font-size: 0.75rem;
    padding: 0.5rem;
    margin: -0.5rem auto 0.5rem;
  }
} 